<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="templates/common.xhtml">
	<ui:define name="pageHeader">
	    Commande de <h:outputText value="#{commandeMB.login}"/> pour le panier <h:outputText value="#{commandeMB.idSelPanier}"/>
	    <br/>
	<h:outputText value="#{commandeMB.commande.client.prenom} #{commandeMB.commande.client.nom}"/>
	<br/> <br/>
	</ui:define>
	<ui:define name="body">
	<h:messages/><h:form> 
 	<br/>
	date de commande : <h:outputText value="#{commandeMB.commande.dateCommandeCalendar.time}">
	<f:convertDateTime pattern="dd/MM/yyyy"/>
	</h:outputText><br/>
	date de livraison : <h:inputText value="#{commandeMB.commande.dateDemandeLivraison.time}">
	<f:convertDateTime pattern="dd/MM/yyyy"/>
	</h:inputText><br/> <br/> <br/>
	total commandé <h:outputText value="#{commandeMB.commande.totalCommande}">
		<f:convertNumber minFractionDigits="2" />
	</h:outputText> Euros<br/>

	<br/><br/>
	<h:commandButton value="confirmer commande"  action="#{commandeMB.doCommande}"/>
	 <br/> <br/>
	</h:form> 
</ui:define>
</ui:composition>
</html>